﻿<UserControl 
    x:Class="DiscoveryLogic.UI.Layouts.Controls.StatementSummary"
    xmlns="http://schemas.microsoft.com/client/2007"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:sys="clr-namespace:System;assembly=mscorlib">
    <UserControl.Resources>
        <sys:Double x:Key="Res_CurrentBalanceValue">5328.98</sys:Double>
        <sys:Double x:Key="Res_CreditAvailableValue">5356</sys:Double>
        <sys:Double x:Key="Res_OverlimitAmountValue">0</sys:Double>
        <sys:Double x:Key="Res_LastStatementBalanceValue">436</sys:Double>
        <sys:Double x:Key="Res_MinimumPaymentValue">324</sys:Double>
        <sys:Double x:Key="Res_LastPaymentValue">435</sys:Double>

    </UserControl.Resources>
    <Canvas x:Name="Root">

  <Canvas.Resources>
    <Storyboard x:Name="SummaryFlyout">
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="SummaryPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="-400" KeySpline="0,0,0.504,1"/>
        <SplineDoubleKeyFrame KeyTime="00:00:01.1000000" Value="0" KeySpline="0,0,0.5,1"/>
      </DoubleAnimationUsingKeyFrames>
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="SummaryPanel" Storyboard.TargetProperty="(UIElement.Opacity)">
        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" KeySpline="1,0,1,1"/>
        <SplineDoubleKeyFrame KeyTime="00:00:01.1000000" Value="1" KeySpline="0.714,0,1,1"/>
      </DoubleAnimationUsingKeyFrames>
    </Storyboard>
    <Storyboard x:Name="SummaryFlyback">
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="SummaryPanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0" KeySpline="0,0,0.504,1"/>
        <SplineDoubleKeyFrame KeyTime="00:00:01.1000000" Value="-400" KeySpline="0,0,0.5,1"/>
      </DoubleAnimationUsingKeyFrames>
      <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="SummaryPanel" Storyboard.TargetProperty="(UIElement.Opacity)">
        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1" KeySpline="1,0,1,1"/>
        <SplineDoubleKeyFrame KeyTime="00:00:01.1000000" Value="0" KeySpline="0.714,0,1,1"/>
      </DoubleAnimationUsingKeyFrames>
    </Storyboard>

  </Canvas.Resources>

  <Canvas x:Name="SummaryPanel" Width="251.003" Height="304.67" Canvas.Top="100" RenderTransformOrigin="0.5,0.5" Canvas.Left="13">
    <Canvas.RenderTransform>
      <TransformGroup>
        <ScaleTransform ScaleX="1" ScaleY="1"/>
        <SkewTransform AngleX="0" AngleY="0"/>
        <RotateTransform Angle="0"/>
        <TranslateTransform X="0" Y="0"/>
      </TransformGroup>
    </Canvas.RenderTransform>

    <Rectangle Width="242.5" Height="279" RadiusX="10" RadiusY="10" Opacity="0.075" StrokeThickness="2" Canvas.Left="10.503" Canvas.Top="15.5">
      <Rectangle.OpacityMask>
        <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
          <GradientStop Color="#00747045" Offset="0"/>
          <GradientStop Color="#00747045" Offset="1"/>
          <GradientStop Color="#FF747045" Offset="0.034"/>
          <GradientStop Color="#FF747045" Offset="0.832"/>
        </LinearGradientBrush>
      </Rectangle.OpacityMask>
      <Rectangle.Fill>
        <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
          <GradientStop Color="#001D62AF" Offset="0"/>
          <GradientStop Color="#001D62AF" Offset="1"/>
          <GradientStop Color="#FF1D62AF" Offset="0.06"/>
          <GradientStop Color="#FF1D62AF" Offset="0.94"/>
        </LinearGradientBrush>
      </Rectangle.Fill>
    </Rectangle>

    <Rectangle Width="237" Height="279" Fill="#1E1D62AF" RadiusX="10" RadiusY="10" Opacity="1" StrokeThickness="2">
      <Rectangle.Stroke>
        <LinearGradientBrush EndPoint="0.368,0.396" StartPoint="1.434,1.515">
          <GradientStop Color="#FF072F2F" Offset="0.005"/>
          <GradientStop Color="#FDFFFFFF" Offset="1"/>
        </LinearGradientBrush>
      </Rectangle.Stroke>
    </Rectangle>

    <Rectangle Width="237" Height="279" RadiusX="10" RadiusY="10" Opacity="1" StrokeThickness="2">
      <Rectangle.Fill>
        <LinearGradientBrush EndPoint="1.656,0.06" StartPoint="-0.192,1.88" SpreadMethod="Repeat">
          <GradientStop Color="#78FFFFFF" Offset="0.601"/>
          <GradientStop Color="#00FFFFFF" Offset="0.622"/>
          <GradientStop Color="#00FFFFFF" Offset="0.4"/>
          <GradientStop Color="#3EFFFFFF" Offset="0.444"/>
          <GradientStop Color="#00FFFFFF" Offset="0.716"/>
          <GradientStop Color="#61FFFFFF" Offset="0.708"/>
          <GradientStop Color="#00FFFFFF" Offset="0.935"/>
          <GradientStop Color="#00FFFFFF" Offset="0.935"/>
          <GradientStop Color="#00FFFFFF" Offset="0.909"/>
          <GradientStop Color="#00FFFFFF" Offset="0.293"/>
          <GradientStop Color="#32FFFFFF" Offset="0.37"/>
          <GradientStop Color="#00FFFFFF" Offset="0.433"/>
          <GradientStop Color="#58FEFEFE" Offset="0.012"/>
          <GradientStop Color="#59FEFEFE" Offset="0.979"/>
          <GradientStop Color="#18FFFFFF" Offset="0.057"/>
          <GradientStop Color="#00FFFFFF" Offset="0.688"/>
          <GradientStop Color="#18FFFFFF" Offset="0.49"/>
        </LinearGradientBrush>
      </Rectangle.Fill>
    </Rectangle>



    <TextBlock Width="207" Height="22.501" TextWrapping="Wrap" FontFamily="Trebuchet MS" FontSize="14" Foreground="#FF1D62AF" Canvas.Left="13.475" Canvas.Top="8.999" FontWeight="Bold">
        <Run Text="Current Balance: " />
        <Run x:Name="CurrentBalanceValue" Text="Res_CurrentBalanceValue" />
    </TextBlock>



    <TextBlock Width="140.007" Height="219.834" TextWrapping="Wrap" FontFamily="Trebuchet MS" FontSize="12" Foreground="#FF1D62AF" Canvas.Left="19.475" Canvas.Top="47.5">
      <Run Text="Credit Available:"/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="Overlimit Amount:"/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="Last Statement Date:"/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="Last Statement Balance: "/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="Payment Due Date:"/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="Minimum Payment:"/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="Last Payment:"/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="Last Payment Date:"/>
    </TextBlock>



    <Canvas Width="172.366" Height="3.334" Canvas.Left="50.473" Canvas.Top="35.999" x:Name="divider">



      <Path Width="171.699" Height="2" Stretch="Fill" Stroke="#491D62AF" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="1" Data="M107.80833,143.66567 L277.50774,143.66567"/>



      <Path Width="171.699" Height="2" Stretch="Fill" Stroke="#AEFFFFFF" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="1" Data="M107.80833,143.66567 L277.50774,143.66567" Canvas.Left="0.667" Canvas.Top="1.334"/>



    </Canvas>



    <Canvas Width="172.366" Height="3.334" Canvas.Left="50.473" Canvas.Top="95.335" x:Name="divider_Copy">



      <Path Width="171.699" Height="2" Stretch="Fill" Stroke="#491D62AF" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="1" Data="M107.80833,143.66567 L277.50774,143.66567"/>



      <Path Width="171.699" Height="2" Stretch="Fill" Stroke="#AEFFFFFF" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="1" Data="M107.80833,143.66567 L277.50774,143.66567" Canvas.Left="0.667" Canvas.Top="1.334"/>



    </Canvas>



    <Canvas Width="172.366" Height="3.334" Canvas.Left="50.473" Canvas.Top="205.342" x:Name="divider_Copy1">



      <Path Width="171.699" Height="2" Stretch="Fill" Stroke="#491D62AF" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="1" Data="M107.80833,143.66567 L277.50774,143.66567"/>



      <Path Width="171.699" Height="2" Stretch="Fill" Stroke="#AEFFFFFF" StrokeEndLineCap="Round" StrokeStartLineCap="Round" StrokeThickness="1" Data="M107.80833,143.66567 L277.50774,143.66567" Canvas.Left="0.667" Canvas.Top="1.334"/>



    </Canvas>



    <TextBlock Width="60.993" Height="219.834" TextWrapping="Wrap" FontFamily="Trebuchet MS" FontSize="12" Foreground="#FF1D62AF" Canvas.Left="159.482" Canvas.Top="47.5">
      <Run Text="    ^5356" x:Name="CreditAvailable"/> <!-- Res_CreditAvailableValue -->
      <LineBreak/>
      <LineBreak/>
      <Run Text="         ^0" x:Name="OverlimitAmount"/> <!-- Res_OverlimitAmountValue -->
      <LineBreak/>
      <LineBreak/>
      <Run Text="11 01 07" x:Name="LastStatementDate"/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="     ^436" x:Name="LastStatementBalance"/> <!-- Res_LastStatementBalanceValue -->
      <LineBreak/>
      <LineBreak/>
      <Run Text="11 27 07" x:Name="PaymentDueDate"/>
      <LineBreak/>
      <LineBreak/>
      <Run Text="      ^324" x:Name="MinimumPayment"/>  <!-- Res_MinimumPaymentValue -->
      <LineBreak/>
      <LineBreak/>
      <Run Text="      ^435" x:Name="LastPayment"/>  <!-- Res_LastPaymentValue -->
      <LineBreak/>
      <LineBreak/>
      <Run Text="10 20 07" x:Name="LastPaymentDate"/>
    </TextBlock>



  </Canvas>
</Canvas>
    
</UserControl>    